<template>
    <div class="content">
          <el-tabs v-model="activeName" type="card" >
                <el-tab-pane label="主体责任统计" name="1">
        <chief-inspector v-if="activeName==1"/>
    </el-tab-pane>
    <el-tab-pane label="主体责任单位列表" name="2">
        <director-enterprise v-if="activeName==2"/>
    </el-tab-pane>

  </el-tabs>
    </div>
</template>
<script>
export default {
    // props:[],
    // 页面加载
    created(){


    },
    // 页面加载完成
    mounted(){
    
    },
    //实例销毁之前
      beforeDestroy(){
  },
    //实例销毁后
         destroyed(){
            },
    data(){
        return{
                activeName:"1"
        }
    },
    // 方法
    methods:{
    
    },
    // 监听属性
    watch:{
    
    },
    // 组件
    components:{
            'directorEnterprise':() => import("@/views/performance/directorEnterprise"),
            'chiefInspector':() => import("@/views/performance/chiefInspector"),
    },
    // 计算属性
    computed: {
        
    },

}
</script>

<style lang="scss" scoped>

.content{
    padding: 20px;
}
</style>